//
// Created by wangjunjun on 2024/2/19.
//

#include "application.h"
#include "../common/config/configmanger.h"
#include "../common/log/log.h"
#include "../util/SyncTimer.h"
CApplication::CApplication() {

}
CApplication::~CApplication() {

}

//初始化日志模块
bool  CApplication::init() {
   //日志模块初始化
    std::shared_ptr<CLog> mPlog = CLog::GetInstance();
    if(mPlog == nullptr){
        LOG_ERROR("init log error");
        return  false;
    }
    //时间同步
    return true;
}